package com.gec.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gec.model.system.ITripHotel;
import com.gec.model.system.ITripHotelRoom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gec.model.system.ITripSights;
import com.gec.model.vo.ITripHotelRoomVo;
import com.gec.model.vo.ITripHotelVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 酒店房间表 Mapper 接口
 * </p>
 *
 * @author dafei
 * @since 2024-01-24
 */
public interface ITripHotelRoomMapper extends BaseMapper<ITripHotelRoom> {
    IPage<ITripHotelRoom> selectPage(IPage<ITripHotelRoom> page1,
                                 @Param("vo") ITripHotelRoomVo iTripVod,
                                 @Param("ew") LambdaQueryWrapper lambdaQueryWrapper
    );

    List<ITripHotelRoom> selectPage();

    List<ITripHotel> selectByHotelById(@Param("hId") Long hId);
}
